package com.kuaimacode.kframework.mybatis.models.service;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author anzy
 * @date 2019/04/13
 */
@TableName("sys_agent_one_class")
@Data
public class OneClass implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@ApiModelProperty(value = "分站编号")
	@TableField("agent_id")
	private String agentId;
	@ApiModelProperty(value = "分类编号")
	@TableField("service_class")
	private String serviceClass;
	@ApiModelProperty(value = "分类名称")
	@TableField(exist = false)
	private String serviceName;
	@ApiModelProperty(value = "开通时间")
	@TableField("create_at")
	private Date createAt;
	@ApiModelProperty(value = "开通人")
	@TableField("create_by")
	private Long createBy;
	@ApiModelProperty(value = "状态")
	@TableField("status")
	private Integer status;
}
